<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*, javax.servlet.http.*,java.lang.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--

Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Title      : Transition
Version    : 1.0
Released   : 20070703
Description: A two-column, fixed-width template with light color blend.

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<% 
String Titulo = null;
try{
	Titulo = (String) request.getSession().getAttribute("titulo");
	if(Titulo.equalsIgnoreCase("Desconectando")){
		out.println("<meta http-equiv=\"Refresh\" content=\"5;url="+request.getHeader("referer")+"\">");
	} else if (Titulo.equalsIgnoreCase("Error")){
		out.println("<meta http-equiv=\"Refresh\" content=\"5;url="+request.getHeader("referer")+"\">");
	}
} catch (Exception e){
	out.println("ERROR JSP #1: "+e.toString());
}
%>
<title>Web de Cultura de Aplicaciones Telematicas 3</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
	<div id="logo">
		<h1><a href="#"> <% out.println(Titulo); %> </a> </h1>
		<h2><a href="http://www.upf.edu/"></a></h2>
	</div>
</div>
<div id="header2">
  <p>Est&aacute; siendo desconectado en estos momentos, por favor espere unos segundos.</p>
  <p>Si no es redireccionado en unos segundos, vuelva a cargar la p&aacute;gina <a href="<%= request.getHeader("referer") %>">AQU&Iacute;</a>. </p>
</div>
<hr />
<div id="page"></div>
<hr />
<div id="footer-wrapper">
	<div id="footer">
		<p id="legal">Copyright &copy; 2007 Transition. All Rights Reserved<br />
			Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
  </div>
</div>

<div style="font-size: 0.8em; text-align: center; margin-top: 1.0em; margin-bottom: 1.0em;">
Design downloaded from <a href="http://www.freewebtemplates.com/">Free Templates</a> - your source for free web templates
</div>
</body>
</html>
